package com.dx.ioc;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;


public class TestBean /*implements InitializingBean*/{


	/**
	 * 构造函数
	 */
	public TestBean(){
		System.out.println("testBean 构造器...");
	}


/*	*//**
	 * InitializingBean 接口实现
	 *//*
	public void afterPropertiesSet() throws Exception {
		System.out.println("testBean afterPropertiesSet...");
	}*/

	public void print() {
		System.out.println("业务方法执行");
	}


}
